package com.rran.study.chat.friend.dto.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author yy
 * @Type AddFriendDTO.java
 * @Desc
 * @date 2020/8/11 11:04
 */
@Data
public class AddFriendDTO {

    @NotBlank(message = "source不能为空")
    private String source;

    @NotBlank(message = "target不能为空")
    private String target;

    @NotBlank(message = "nick不能为空")
    private String nick;

    private String avatar;

    private String description;

    /**
     * 申请状态 0 接收 1 未接收 2 拒绝
     */
    private Integer state = 1;


    private String appFrom = "来自手机号搜索";

}
